
#pragma once

//////// I N C L U D E S ////////////////////////////////////////////

#include "Platform_Main.h"
#include <stdio.h>
#include <math.h>
#include "Debugging.h"

//////// D E F I N E S //////////////////////////////////////////////

#define INVALID_TEXTURE_ID		(0)
#define INVALID_STRING_HASH	    (0)
#define INVALID_HANDLE			(-1)

#define MIN_SCREEN_WIDTH 800
#define MIN_SCREEN_HEIGHT 600

#define MACRO_MAX(X,Y) (((X)>(Y))?(X):(Y))
#define MACRO_MIN(X,Y) (((X)<(Y))?(X):(Y))
#define MACRO_CLAMP( X, MIN, MAX ) ( MACRO_MIN( MACRO_MAX( (X),(MIN) ), (MAX) ) )

#define FRIDGE_MAX_PATH 256

//////// T Y P E D E F S ////////////////////////////////////////////

typedef unsigned int	u_int;
typedef unsigned short	u_short;
typedef unsigned char	u_char;

typedef unsigned int	StringHash;

typedef int				FHandle;

/////// N A M E S P A C E S ////////////////////////////////////////

namespace Platform
{
	void Initialise();
	void Shutdown();
};

//eof
